import request from '@/utils/request'

export function list(data) {
  return request({
    url: 'user/list',
    method: 'post',
    data
  })
}

export function detail(data) {
  return request({
    url: 'manager/detail',
    method: 'post',
    data
  })
}

export function userMy(data) {
  return request({
    url: 'user/my',
    method: 'post',
    data
  })
}

export function joinTeam(data) {
  return request({
    url: 'user/joinTeam',
    method: 'post',
    data
  })
}

export function loginCode(data) {
  return request({
    url: 'editor/loginCode',
    method: 'post',
    data
  })
}
